from django.conf.urls import patterns, url

urlpatterns = patterns('house.views',
        url(r'^$', 'index'), 
        url(r'^latest/(?P<page_num>\d+)/$', 'latest_trade'), 
        url(r'^trade/(?P<trade_id>\d+)/$', 'trade_detail'), 
        url(r'^list/(?P<type_id>\d+)/(?P<page_num>\d+)/$', 'trade_list'), 
        url(r'^add/$', 'add_trade'), 
)

